package com.ruoyi.net.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网元-业务-mtnclient对象 element_busi_mtnclient
 * 
 * @author net
 * @date 2024-11-17
 */
public class ElementBusiMtnclient extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 网元id */
    @Excel(name = "网元id")
    private String elementId;

    /** 类型 */
    @Excel(name = "类型")
    private String mtnType;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 工作模式 */
    @Excel(name = "工作模式")
    private String workMode;

    /** 保护类型 */
    @Excel(name = "保护类型")
    private String protectType;

    /** 时隙模式 */
    @Excel(name = "时隙模式")
    private String faultMode;

    /** 时延模式 */
    @Excel(name = "时延模式")
    private String latencyMode;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setElementId(String elementId) 
    {
        this.elementId = elementId;
    }

    public String getElementId() 
    {
        return elementId;
    }
    public void setMtnType(String mtnType) 
    {
        this.mtnType = mtnType;
    }

    public String getMtnType() 
    {
        return mtnType;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setWorkMode(String workMode) 
    {
        this.workMode = workMode;
    }

    public String getWorkMode() 
    {
        return workMode;
    }
    public void setProtectType(String protectType) 
    {
        this.protectType = protectType;
    }

    public String getProtectType() 
    {
        return protectType;
    }
    public void setFaultMode(String faultMode) 
    {
        this.faultMode = faultMode;
    }

    public String getFaultMode() 
    {
        return faultMode;
    }
    public void setLatencyMode(String latencyMode) 
    {
        this.latencyMode = latencyMode;
    }

    public String getLatencyMode() 
    {
        return latencyMode;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("elementId", getElementId())
            .append("mtnType", getMtnType())
            .append("name", getName())
            .append("workMode", getWorkMode())
            .append("protectType", getProtectType())
            .append("faultMode", getFaultMode())
            .append("latencyMode", getLatencyMode())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
